package com.gugee.ins.common.dal.mapper.dic;

import com.gugee.common.mapper.GugeeMapper;
import com.gugee.ins.common.model.mysql.dic.InsDicNation;
import org.apache.ibatis.annotations.Select;

import java.util.List;


/**
 * <p>
 * ins博主分类字典表 Mapper 接口
 * </p>
 *
 * @author yzz
 * @since 2020-12-30
 */
public interface InsDicNationMapper extends GugeeMapper<InsDicNation> {
    /**
     * 获取所头部国家缩写
     * @return
     */
    @Select("select `code` from ins_dic_nation where `type` = 1 ")
    List<String> findTopNationCode();

}
